<template>
	<view>
		<view>
			<web-view class="webView" :style="{height:'100%',width:'100%',border:'none'}" :src="src" :fullscreen="true"></web-view>
		</view>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				src:''
			}
		},
		
		onLoad(option){
			let mUrl = option.src || '';
			this.src = "https://view.xdocin.com/view?src=" + encodeURIComponent(
				`${this.$store.state.host}${mUrl}`);
		},
		
		methods: {
			
		}
	}
</script>

<style scoped>
</style>
